package com.wondertek.service.dto.sys.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class SysConfigReq {
    /**
     * logo图片
     */
    @Schema(name = "logo",description = "logo图片")
    @NotBlank(message = "logo.photo.not.null")
    private String logo;

    /**
     * 系统名称
     */
    @Schema(name = "systemName",description = "系统名称")
    @NotBlank(message = "system.name.not.null")
    @Length(max = 30, message = "name.length")
    private String systemName;

    /**
     * 隐私协议
     */
    @Schema(name = "privacy",description = "隐私协议")
    @NotBlank(message = "privacy.not.null")
    private String privacy;

}
